import Mock from 'mockjs';

const mockData = () => ({
    "cpu": Mock.mock('@natural(1, 10)'),
    "createTime": Mock.mock('@date("yyyy-MM-dd HH:mm:ss")'),
    "disk": Mock.mock('@natural(100, 300)'),
    "gpu": Mock.mock('@natural(1, 10)'),
    "id": Mock.mock('@increment'),
    "mem": Mock.mock('@natural(1, 8)'),
    "memswap": Mock.mock('@natural(1, 8)'),
    "nodeOnline": Mock.mock('@natural(1, 8)'),

    "cpuTotal": 100,
    "diskTotal": 588.00,
    "gpuTotal": 100.0,
    "memTotal": 62.64,
    "memswapTotal": 31.15,
    "nodeOnlineTotal": 8,
})

export default mockData;